load("@rules_zig//zig:defs.bzl", "zig_library", "zig_test")

zig_library(
    name = "stdx",
    srcs = [
        "bounded_array.zig",
        "debug.zig",
        "flags.zig",
        "fmt.zig",
        "fs.zig",
        "json.zig",
        "math.zig",
        "meta.zig",
        "queue.zig",
        "signature.zig",
        "time.zig",
    ],
    zigopts = ["-lc"],
    main = "stdx.zig",
    visibility = ["//visibility:public"],
)

zig_test(
    name = "test",
    testonly = False,
    deps = [":stdx"],
)
